<template>
	<view>
	<NavBar :title="'指定破产管理人决定书'" />
		<scroll-view scroll-y="true" class="scroll-Y" >
			<view class="title">
				<text class="content">指定破产管理人决定书</text>
				<text class="icon">*</text>
			</view>
			<view class="example" v-show="isShow">
				<view class="buts">
					下载样表
				</view>
				<view class="buts">
					查看示例
				</view>
			</view>
			<view class="reminder">
				最多上限5个文件，最大500MB/个
			</view>
			<view class="picture">
				<image src="/static/img.png" mode="widthFix"></image>
				<view class="message">
					<view class="name">
						图片名
					</view>
					<view class="size">
						135.72KB
					</view>
				</view>
				<u-icon name="trash" color="rgba(153, 153, 153, 1)" size="28"></u-icon>

			</view>
			<view class="picture img2">
				<image src="/static/img.png" mode="widthFix"></image>
				<view class="message">
					<view class="name">
						图片名
					</view>
					<view class="size">
						135.72KB
					</view>
				</view>
				<u-icon name="trash" color="rgba(153, 153, 153, 1)" size="28"></u-icon>
			
			</view>
			<view class="uploading-box">
				<view class="uploading">
					上传图片
				</view>
				<view class="uploadings">
					获取证照
				</view>
			</view>
			
			<view class="border">
				
			</view>
		</scroll-view>
		<view class="but">
			<view class="submit" @click="submitClick">
					保存
			</view>
		</view>
	</view>
</template>


<script>
	import navbar from '@/pages/guide/enterprise/navbar.vue';
	export default {
		components:{navbar},
		data() {
			return {
				content:'人民法院受理破产案件民事裁定书',
				isShow:false
			};
		},
		onLoad(option) {
			console.log(option);
			this.content = option.text
			if(option.isShow){
				this.isShow = option.isShow
			}
		},
		methods:{
			submitClick() {
			    console.log('提交表单');
			    this.$u.toast('提交成功');
			    this.$u.route({
			        url: '/pages/fromTable/bankruptcy/index'
			    });
			}
		}
		
	}
</script>

<style lang="scss" scoped>
	*{
		box-sizing: border-box;
	}
.scroll-Y{
	width: 100%;
	padding: 46rpx 30rpx;
	height: calc(100vh - 369rpx);
	background-color: #fff;
	font-family: PingFang SC, PingFang SC;
	
	.title{
		margin-bottom: 8rpx;
		.icon{
			font-weight: 400;
			font-size: 27rpx;
			color: #DC0000;
		}
		.content{
			font-family: PingFang SC, PingFang SC;
			font-weight: 400;
			font-size: 27rpx;
			color: rgba(0,0,0,0.6);
		}
	}
	.example{
		margin-bottom: 8rpx;
		display: flex;
		.buts{
			margin-right: 8rpx;
			width: 154rpx;
			height: 69rpx;
			border-radius: 8rpx 8rpx 8rpx 8rpx;
			border: 1rpx solid #2C5E9F;
			line-height: 69rpx;
			color: #2C5E9F;
			text-align: center;
		}
	}
	.reminder{
		font-family: PingFang SC, PingFang SC;
		font-weight: 400;
		font-size: 27rpx;
		color: rgba(0,0,0,0.4);
		line-height: 61.07rpx;
	}
	.img2{
		margin-top: 7.69rpx;
	}
	.picture{
		width: 688rpx;
		height: 92rpx;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		border: 1rpx solid #CDCDCD;
		padding: 7rpx 23rpx 7rpx 7rpx;
		display: flex;
		align-items: center;
		image{
			width: 70rpx;
		}
		.message{
			padding-left: 8rpx;
			flex: 1;
			.name{
				font-weight: 400;
				font-size: 29rpx;
				color: #1F2329;
				line-height: 38rpx;
			}
			.size{
				font-weight: 400;
				font-size: 29rpx;
				color: rgba(0,0,0,0.4);
				line-height: 38rpx;
			}
		}
		.icon{
			width: 30rpx;
		}
	}
	.uploading-box{
			margin-top: 15.38rpx;
		display: flex;
	}
	.uploadings{
		width: 154rpx;
		height: 69rpx;
		background: rgba(187,187,187,0.38);
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: 400;
		font-size: 29rpx;
		color: #2C5E9F;
		line-height: 69rpx;
		text-align: center;
		margin-left: 7.69rpx;
	}
	.uploading{
	
		width: 154rpx;
		height: 69rpx;
		font-weight: 400;
		font-size: 29rpx;
		color: #FFFFFF;
		line-height: 69rpx;
		text-align: center;
		background: #2C5E9F;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
	}
	.border{
		height: 30rpx;
		border-bottom: 1rpx solid #D0D3D6;
	}
}
.but{
	padding-top: 15rpx;
	background-color: #FFFFFF;
	border-top: 1rpx solid #D0D3D6;
	.submit{
		margin: 0 auto;
		width: 688rpx;
		height: 92rpx;
		background: #2C5E9F;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		font-weight: 400;
		font-size: 29rpx;
		color: #FFFFFF;
		line-height: 92rpx;
		text-align: center;
	}
}
</style>
